package service;

import dao.HolInfoMapper;
import dao.HygInfoMapper;

import java.sql.SQLException;

/**
 * @author 李夏
 * @version 1.0
 */
public class HolInfoService {
    public static Integer getHolOneBuild(Integer buildId) throws SQLException {
        return HolInfoMapper.getHolOneBuild(buildId);

    }

    public static Integer queryHolAllCount() throws SQLException {
        return HolInfoMapper.queryHolAllCount();

    }

    public static Integer getHolOneBuildOn(Integer buildId) throws SQLException {
        return HolInfoMapper.getHolOneBuildOn(buildId);

    }

    public static Integer getHolOneBuildLeave(Integer buildId) throws SQLException {
        return HolInfoMapper.getHolOneBuildLeave(buildId);

    }

    public static Integer getHolAllOn() throws SQLException {
        return HolInfoMapper.getHolAllOn();

    }

    public static Integer getHolAllLeave() throws SQLException {
        return HolInfoMapper.getHolAllLeave();

    }
}
